<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="__PUBLIC__/Js/jquery-1.7.2.min.js"></script>
	<link href="__PUBLIC__/Css/manager.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h2>更新操作 <a href="__URL__/index" id="backBTN" >[取消返回]</a></h2>

<form action="__URL__/update" method="post">
    <input type="hidden" name="id" value="{$list['id']}">
    <table id="user_Add">
        <tr>
            <th>操作名</th>
            <td>
                <input type="text" value="{$list['name']}" name="name">
            </td>
        </tr>
        <tr>
            <th>父操作</th>
            <td>
                <input type="text" value="{$list['pid']}" name="pid">
            </td>
        </tr>
        <tr>
			<th>操作别名</th>
            <td>
                <input type="text" value="{$list['title']}" name="title">
            </td>
        </tr>
        <tr>
            <th>状态</th>
            <td>
                <select name="status">
                    <option value="-1">--请选择--</option>
                    <if condition="$list['status'] eq 1">
                        <option value="1" selected>有效</option>
                        <option value="0" >无效</option>
                        <elseif condition="$list['status'] eq 0"/>
                        <option value="1" >有效</option>
                        <option value="0" selected>无效</option>
                    </if>
                </select>
            </td>
        </tr>
        <tr>
            <th>操作等级</th>
            <td>
                <select name="level">
                    <option value="-1">--请选择--</option>
                    <if condition="$list['level'] eq 1">
                        <option value="1" selected>一级操作</option>
                        <option value="2" >二级操作</option>
                        <option value="3" >三级操作</option>
                        <elseif condition="$list['level'] eq 2"/>
                        <option value="1" >一级操作</option>
                        <option value="2" selected>二级操作</option>
                        <option value="3" >三级操作</option>
                        <elseif condition="$list['level'] eq 3"/>
                        <option value="1" >一级操作</option>
                        <option value="2" >二级操作</option>
                        <option value="3"  selected>三级操作</option>
                    </if>
                </select>
            </td>
        </tr>
        <tr>
            <th>排序号</th>
            <td>
                <input type="text" value="{$list['sort']}" name="sort">
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" value="更新">
            </td>
        </tr>
    </table>

</form>
</body>
</html>